<!doctype html>
<html lang="ru" data-bs-theme="dark">

<head>
    <!-- 2024-05-11 14:17:45 -->
        <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>Git - gitignore</title>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css" integrity="sha512-dPXYcDub/aeb08c63jRq/k6GaKccl256JQy/AnOq7CAnEZ9FzSL9wSbcZkMp4R26vBsMLFYH4kQ67/bbV8XaCQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css" integrity="sha512-rO+olRTkcf304DQBxSWxln8JXCzTHlKnIdnMUwYvQa9/Jd4cQaNkItIUj6Z4nvW1dqK0SKXLbn9h4KwZTNtAyw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/7.1.0/css/flag-icons.min.css" integrity="sha512-bZBu2H0+FGFz/stDN/L0k8J0G8qVsAL0ht1qg5kTwtAheiXwiRKyCq1frwfbSFSJN3jooR5kauE0YjtPzhZtJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link href="../../../runebook.css" rel="stylesheet" type="text/css">
    <meta name="x-github" content="https://github.com/runebookdev/runebook">
            <meta name="x-i18n-doc" content="git">
        <script>
        function i18n(element) {
            // NOP
        }
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.5/js.cookie.js" integrity="sha512-F/dia2jKME12jwqiYDayeD+Rr/8jTWUD2wfbuJB0bzSwenSEnXsn4qQ/wVyXUCix5bmCAj8xJdtFr2OqUtjLAw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js" integrity="sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/7.8.1/rxjs.umd.min.js" integrity="sha512-D9LDs8YUUVa4V9Gl4Zb+xqRAc7RCzooR3+zzebgK2RMu/KU+dh90pbjEEMzPiSyRSGbSp9j1pZnrO4joGa5WEg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg==" crossorigin="anonymous"></script>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6424571640879890" crossorigin="anonymous"></script>    <script async src="https://www.googletagmanager.com/gtag/js?id=G-3G5BZ1QEDP"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'G-3G5BZ1QEDP');
</script>    <script>
(function(c, l, a, r, i, t, y) {
    c[a] = c[a] || function() {
        (c[a].q = c[a].q || []).push(arguments)
    };
    t = l.createElement(r);
    t.async = 1;
    t.src = "https://www.clarity.ms/tag/" + i + "?ref=bwt";
    y = l.getElementsByTagName(r)[0];
    y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "jto2hd94r9");
</script>    <script src="../../../theme.js"></script>
</head>

<body>
    <header class="bg-black">
        <div class="container">
            <div class="row">
                <div class="col">
                    <nav class="navbar navbar-expand-lg navbar-dark">
                        <a class="navbar-brand fw-bold" href="https://runebook.dev/ru">
                            <img alt="Runebook.dev" class="d-inline-block align-top mr-1" src="../../../assets/runebook_logo.webp" width="24" height="24">
                            Runebook.dev
                        </a>
                        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse" id="navbarSupportedContent">
                            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/ru#docs">Documentation</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/contributors">Contributors</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://github.com/runebookdev/runebook/issues">GitHub</a>
                                </li>
                            </ul>
                                                                                                <button class="btn btn-success ms-2" id="showPopupButton">
                                        <i class="bi bi-translate"></i>
                                        Show English
                                    </button>
                                                                                        <div class="form-check form-switch ms-3">
                                <label class="text-light">
                                    <input class="form-check-input" type="checkbox" role="switch" id="theme-switch" checked>
                                    <i class="bi bi-moon-stars-fill"></i>
                                </label>
                            </div>
                        </div>
                    </nav>
                </div>
            </div>
        </div>
    </header>

    <!--sse-->
    <div class="container">
    <div class="row">
        <div class="col">
            <nav aria-label="breadcrumb" class="mt-2">
                <ol class="breadcrumb mb-1">
                    <li class="breadcrumb-item">
                        <a href="https://runebook.dev/ru#docs">
                            <span class="fi fi-ru"></span>                            Русский                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <a href="-index-.html">
                            Git                            2.43                        </a>
                    </li>
                                            <li class="breadcrumb-item">
                            <a href="-index-.html#Guides">
                                Guides                            </a>
                        </li>
                                    </ol>
            </nav>
        </div>
    </div>
    <br>

    <div class="row">
        <div class="col-md-9">
            <main>
                <article>

                    
                    <h1 class="text-body-emphasis" ><span data-i18n="a1aa6596787cc04d4c22c2d40526e2bc261ad0895823a27c91a8e3ccd9cdefa2/14" data-source="gitignore" onmousemove="i18n(this)">gitignore</span></h1> <h2 class="text-body-emphasis"  id="_name"><span data-i18n="dcd1d5223f73b3a965c07e3ff5dbee3eedcfedb806686a05b9b3868a2c3d6d50/3a" data-source="Name" onmousemove="i18n(this)">Name</span></h2> <div> <p><span data-i18n="93aa3e80bba1840e0ce95ed9efc1786b0d4dfb4d4e18fc91df146938650eed09/3f" data-source="gitignore - Specifies intentionally untracked files to ignore" onmousemove="i18n(this)">gitignore &mdash; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &ncy;&acy;&mcy;&iecy;&rcy;&iecy;&ncy;&ncy;&ocy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_synopsis"><span data-i18n="8eb3755381519d7f0479d75446e56e20084834c0460d7ec94926932372ea6c47/0d" data-source="Synopsis" onmousemove="i18n(this)">Synopsis</span></h2> <div> <p><span data-i18n="a37630ebee117a07ca06cdc189cefa1ab970f79edcde37718facf20f576eff13/62" data-source="$XDG_CONFIG_HOME/git/ignore, $GIT_DIR/info/exclude, .gitignore" onmousemove="i18n(this)">$XDG_CONFIG_HOME/git/&icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;, $GIT_DIR/info/exclude, .gitignore</span></p> </div> <h2 class="text-body-emphasis"  id="_description"><span data-i18n="526e0087cc3f254d9f86f6c7d8e23d954c4dfda2b312efc29194ae8a860106ba/d3" data-source="Description" onmousemove="i18n(this)">Description</span></h2> <div> <p><span data-i18n="a913f10096a0756fc2a95bec71ca2d49b98caac0464f2329e8ef8e72a27e6a5b/a1" data-source="A &lt;code&gt;gitignore&lt;/code&gt; file specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected; see the NOTES below for details." onmousemove="i18n(this)">&Fcy;&acy;&jcy;&lcy;  <code>gitignore</code>  &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &ncy;&acy;&mcy;&iecy;&rcy;&iecy;&ncy;&ncy;&ocy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy;  Git  &dcy;&ocy;&lcy;&zhcy;&iecy;&ncy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;. &Fcy;&acy;&jcy;&lcy;&ycy;, &ucy;&zhcy;&iecy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&iecy;  Git , &ncy;&iecy; &zcy;&acy;&tcy;&rcy;&acy;&gcy;&icy;&vcy;&acy;&yucy;&tcy;&scy;&yacy;; &pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&mcy;. &vcy; &Pcy;&Rcy;&Icy;&Mcy;&IEcy;&CHcy;&Acy;&Ncy;&Icy;&YAcy;&KHcy; &ncy;&icy;&zhcy;&iecy;.</span></p> <p><span data-i18n="90ff905a751ec0177cd013ce92fc456bf977e8fe9d69e420a0ef81394e5d3477/48" data-source="Each line in a &lt;code&gt;gitignore&lt;/code&gt; file specifies a pattern. When deciding whether to ignore a path, Git normally checks &lt;code&gt;gitignore&lt;/code&gt; patterns from multiple sources, with the following order of precedence, from highest to lowest (within one level of precedence, the last matching pattern decides the outcome):" onmousemove="i18n(this)">&Kcy;&acy;&zhcy;&dcy;&acy;&yacy; &scy;&tcy;&rcy;&ocy;&kcy;&acy; &vcy; &fcy;&acy;&jcy;&lcy;&iecy;  <code>gitignore</code>  &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&iecy;&tcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;. &Pcy;&rcy;&icy; &pcy;&rcy;&icy;&ncy;&yacy;&tcy;&icy;&icy; &rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy; &ocy; &tcy;&ocy;&mcy;, &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &lcy;&icy; &pcy;&ucy;&tcy;&softcy;,  Git  &ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&iecy;&tcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy;  <code>gitignore</code>  &icy;&zcy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&khcy; &icy;&scy;&tcy;&ocy;&chcy;&ncy;&icy;&kcy;&ocy;&vcy; &vcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&iecy;&mcy; &pcy;&ocy;&rcy;&yacy;&dcy;&kcy;&iecy; &pcy;&rcy;&icy;&ocy;&rcy;&icy;&tcy;&iecy;&tcy;&acy;, &ocy;&tcy; &scy;&acy;&mcy;&ocy;&gcy;&ocy; &vcy;&ycy;&scy;&ocy;&kcy;&ocy;&gcy;&ocy; &dcy;&ocy; &scy;&acy;&mcy;&ocy;&gcy;&ocy; &ncy;&icy;&zcy;&kcy;&ocy;&gcy;&ocy; (&vcy; &pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&acy;&khcy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &ucy;&rcy;&ocy;&vcy;&ncy;&yacy; &pcy;&rcy;&icy;&ocy;&rcy;&icy;&tcy;&iecy;&tcy;&acy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy; &rcy;&iecy;&shcy;&acy;&iecy;&tcy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&icy;&jcy; &scy;&ocy;&vcy;&pcy;&acy;&vcy;&shcy;&icy;&jcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;):</span></p> <div> <ul> <li> <p><span data-i18n="11230702af659459dbd67c873fa01a687700b06f363c02861b0a8c998c9c1706/ca" data-source="Patterns read from the command line for those commands that support them." onmousemove="i18n(this)">&SHcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy; &scy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&yucy;&tcy;&scy;&yacy; &icy;&zcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &dcy;&lcy;&yacy; &tcy;&iecy;&khcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &icy;&khcy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&yucy;&tcy;.</span></p> </li> <li> <p><span data-i18n="ee1250074c728c4f6e5ed8fe215824a313543391604b9ddaefd6b1413ccf6111/cf" data-source="Patterns read from a &lt;code&gt;.gitignore&lt;/code&gt; file in the same directory as the path, or in any parent directory (up to the top-level of the working tree), with patterns in the higher level files being overridden by those in lower level files down to the directory containing the file. These patterns match relative to the location of the &lt;code&gt;.gitignore&lt;/code&gt; file. A project normally includes such &lt;code&gt;.gitignore&lt;/code&gt; files in its repository, containing patterns for files generated as part of the project build." onmousemove="i18n(this)">&SHcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy; &scy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&yucy;&tcy;&scy;&yacy; &icy;&zcy; &fcy;&acy;&jcy;&lcy;&acy;  <code>.gitignore</code>  &vcy; &tcy;&ocy;&mcy; &zhcy;&iecy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy;, &chcy;&tcy;&ocy; &icy; &pcy;&ucy;&tcy;&softcy;, &icy;&lcy;&icy; &vcy; &lcy;&yucy;&bcy;&ocy;&mcy; &rcy;&ocy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&scy;&kcy;&ocy;&mcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy; (&vcy;&pcy;&lcy;&ocy;&tcy;&softcy; &dcy;&ocy; &vcy;&iecy;&rcy;&khcy;&ncy;&iecy;&gcy;&ocy; &ucy;&rcy;&ocy;&vcy;&ncy;&yacy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;), &pcy;&rcy;&icy; &ecy;&tcy;&ocy;&mcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy; &vcy; &fcy;&acy;&jcy;&lcy;&acy;&khcy; &bcy;&ocy;&lcy;&iecy;&iecy; &vcy;&ycy;&scy;&ocy;&kcy;&ocy;&gcy;&ocy; &ucy;&rcy;&ocy;&vcy;&ncy;&yacy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&acy;&mcy;&icy; &vcy; &fcy;&acy;&jcy;&lcy;&acy;&khcy; &bcy;&ocy;&lcy;&iecy;&iecy; &ncy;&icy;&zcy;&kcy;&ocy;&gcy;&ocy; &ucy;&rcy;&ocy;&vcy;&ncy;&yacy; &vcy;&pcy;&lcy;&ocy;&tcy;&softcy; &dcy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&icy;&jcy; &fcy;&acy;&jcy;&lcy;. &Ecy;&tcy;&icy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy; &scy;&ocy;&vcy;&pcy;&acy;&dcy;&acy;&yucy;&tcy; &scy; &rcy;&acy;&scy;&pcy;&ocy;&lcy;&ocy;&zhcy;&iecy;&ncy;&icy;&iecy;&mcy; &fcy;&acy;&jcy;&lcy;&acy;  <code>.gitignore</code> . &Pcy;&rcy;&ocy;&iecy;&kcy;&tcy; &ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &vcy;&kcy;&lcy;&yucy;&chcy;&acy;&iecy;&tcy; &tcy;&acy;&kcy;&icy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;  <code>.gitignore</code>  &vcy; &scy;&vcy;&ocy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&icy;&jcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy; &dcy;&lcy;&yacy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;, &scy;&ocy;&zcy;&dcy;&acy;&ncy;&ncy;&ycy;&khcy; &vcy; &rcy;&acy;&mcy;&kcy;&acy;&khcy; &scy;&bcy;&ocy;&rcy;&kcy;&icy; &pcy;&rcy;&ocy;&iecy;&kcy;&tcy;&acy;.</span></p> </li> <li> <p><span data-i18n="30b0252b98bfc1865cfe19057aa00c32fcdf70c4dcc6b3d187994937720297bd/0d" data-source="Patterns read from &lt;code&gt;$GIT_DIR/info/exclude&lt;/code&gt;." onmousemove="i18n(this)">&Pcy;&acy;&tcy;&tcy;&iecy;&rcy;&ncy;&ycy; &scy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&yucy;&tcy;&scy;&yacy; &scy;  <code>$GIT_DIR/info/exclude</code> .</span></p> </li> <li> <p><span data-i18n="7b9ed16cb8dedfac08fe74181941ef4146e58b1a1bc6772e3935b5072757180c/7e" data-source="Patterns read from the file specified by the configuration variable &lt;code&gt;core.excludesFile&lt;/code&gt;." onmousemove="i18n(this)">&SHcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy; &scy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&yucy;&tcy;&scy;&yacy; &icy;&zcy; &fcy;&acy;&jcy;&lcy;&acy;, &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &vcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>core.excludesFile</code> .</span></p> </li> </ul> </div> <p><span data-i18n="6528a8e64d0f81ee7f48c1875d9a5c23192f5d4c2f6b1962e4241c88c5a155da/5a" data-source="Which file to place a pattern in depends on how the pattern is meant to be used." onmousemove="i18n(this)">&Vcy; &kcy;&acy;&kcy;&ocy;&jcy; &fcy;&acy;&jcy;&lcy; &pcy;&ocy;&mcy;&iecy;&scy;&tcy;&icy;&tcy;&softcy; &ucy;&zcy;&ocy;&rcy;, &zcy;&acy;&vcy;&icy;&scy;&icy;&tcy; &ocy;&tcy; &tcy;&ocy;&gcy;&ocy;, &kcy;&acy;&kcy; &ocy;&ncy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy;.</span></p> <div> <ul> <li> <p><span data-i18n="35ca352e055ad275b6922f086e2ff59cba49fae08d06f34f435f56d3dbadb88c/7d" data-source="Patterns which should be version-controlled and distributed to other repositories via clone (i.e., files that all developers will want to ignore) should go into a &lt;code&gt;.gitignore&lt;/code&gt; file." onmousemove="i18n(this)">&SHcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &kcy;&ocy;&ncy;&tcy;&rcy;&ocy;&lcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &vcy;&iecy;&rcy;&scy;&icy;&yacy;&mcy;&icy; &icy; &rcy;&acy;&scy;&pcy;&rcy;&ocy;&scy;&tcy;&rcy;&acy;&ncy;&yacy;&tcy;&softcy;&scy;&yacy; &vcy; &dcy;&rcy;&ucy;&gcy;&icy;&iecy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy; &pcy;&ocy;&scy;&rcy;&iecy;&dcy;&scy;&tcy;&vcy;&ocy;&mcy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; (&tcy;. &iecy;. &fcy;&acy;&jcy;&lcy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &vcy;&scy;&iecy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy;&icy; &zcy;&acy;&khcy;&ocy;&tcy;&yacy;&tcy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;), &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &pcy;&ocy;&mcy;&iecy;&shchcy;&acy;&tcy;&softcy;&scy;&yacy; &vcy; &fcy;&acy;&jcy;&lcy;  <code>.gitignore</code> .</span></p> </li> <li> <p><span data-i18n="81b73c115240797ca515171e904153d68c5461a16f4a2cb12d35616ad4c26440/dc" data-source="Patterns which are specific to a particular repository but which do not need to be shared with other related repositories (e.g., auxiliary files that live inside the repository but are specific to one user&amp;rsquo;s workflow) should go into the &lt;code&gt;$GIT_DIR/info/exclude&lt;/code&gt; file." onmousemove="i18n(this)">&SHcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy;, &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&chcy;&ncy;&ycy;&iecy; &dcy;&lcy;&yacy; &kcy;&ocy;&ncy;&kcy;&rcy;&iecy;&tcy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;, &ncy;&ocy; &ncy;&iecy; &tcy;&rcy;&iecy;&bcy;&ucy;&yucy;&shchcy;&icy;&iecy; &scy;&ocy;&vcy;&mcy;&iecy;&scy;&tcy;&ncy;&ocy;&gcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &scy; &dcy;&rcy;&ucy;&gcy;&icy;&mcy;&icy; &scy;&vcy;&yacy;&zcy;&acy;&ncy;&ncy;&ycy;&mcy;&icy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;&mcy;&icy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &vcy;&scy;&pcy;&ocy;&mcy;&ocy;&gcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;, &ncy;&acy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&iecy;&scy;&yacy; &vcy;&ncy;&ucy;&tcy;&rcy;&icy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;, &ncy;&ocy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&chcy;&ncy;&ycy;&iecy; &dcy;&lcy;&yacy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy;&acy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yacy;), &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &pcy;&ocy;&mcy;&iecy;&shchcy;&acy;&tcy;&softcy;&scy;&yacy; &vcy; &fcy;&acy;&jcy;&lcy;  <code>$GIT_DIR/info/exclude</code> .</span></p> </li> <li> <p><span data-i18n="1f573073e521a0662034e33196b8a389f7f36bb49c9dc93c8ee69a94e60ef195/bd" data-source="Patterns which a user wants Git to ignore in all situations (e.g., backup or temporary files generated by the user&amp;rsquo;s editor of choice) generally go into a file specified by &lt;code&gt;core.excludesFile&lt;/code&gt; in the user&amp;rsquo;s &lt;code&gt;~/.gitconfig&lt;/code&gt;. Its default value is $XDG_CONFIG_HOME/git/ignore. If $XDG_CONFIG_HOME is either not set or empty, $HOME/.config/git/ignore is used instead." onmousemove="i18n(this)">&SHcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy; &khcy;&ocy;&chcy;&iecy;&tcy;, &chcy;&tcy;&ocy;&bcy;&ycy;  Git  &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&lcy; &vcy;&ocy; &vcy;&scy;&iecy;&khcy; &scy;&icy;&tcy;&ucy;&acy;&tscy;&icy;&yacy;&khcy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &rcy;&iecy;&zcy;&iecy;&rcy;&vcy;&ncy;&ycy;&iecy; &icy;&lcy;&icy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;, &scy;&ocy;&zcy;&dcy;&acy;&ncy;&ncy;&ycy;&iecy; &vcy;&ycy;&bcy;&rcy;&acy;&ncy;&ncy;&ycy;&mcy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&iecy;&mcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&ocy;&rcy;&ocy;&mcy;), &ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &pcy;&ocy;&mcy;&iecy;&shchcy;&acy;&yucy;&tcy;&scy;&yacy; &vcy; &fcy;&acy;&jcy;&lcy;, &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&jcy;  <code>core.excludesFile</code>  &vcy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy;&scy;&kcy;&ocy;&mcy;  <code>~/.gitconfig</code>  . &IEcy;&gcy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &mdash; $XDG_CONFIG_HOME/git/ignore. &IEcy;&scy;&lcy;&icy; $XDG_CONFIG_HOME &ncy;&iecy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy; &icy;&lcy;&icy; &pcy;&ucy;&scy;&tcy;, &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ncy;&iecy;&gcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; $HOME/.config/git/ignore.</span></p> </li> </ul> </div> <p><span data-i18n="eeee8433362b2c80d41c14d0c92aac6f39284feb4e8e9ea07e23fe20e126c7a2/7f" data-source="The underlying Git plumbing tools, such as &lt;code&gt;git ls-files&lt;/code&gt; and &lt;code&gt;git read-tree&lt;/code&gt;, read &lt;code&gt;gitignore&lt;/code&gt; patterns specified by command-line options, or from files specified by command-line options. Higher-level Git tools, such as &lt;code&gt;git status&lt;/code&gt; and &lt;code&gt;git add&lt;/code&gt;, use patterns from the sources specified above." onmousemove="i18n(this)">&Bcy;&acy;&zcy;&ocy;&vcy;&ycy;&iecy; &icy;&ncy;&scy;&tcy;&rcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ycy;  Git , &tcy;&acy;&kcy;&icy;&iecy; &kcy;&acy;&kcy;  <code>git ls-files</code>  &icy;  <code>git read-tree</code> , &scy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&yucy;&tcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy;  <code>gitignore</code> , &zcy;&acy;&dcy;&acy;&ncy;&ncy;&ycy;&iecy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&acy;&mcy;&icy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;, &icy;&lcy;&icy; &icy;&zcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;, &zcy;&acy;&dcy;&acy;&ncy;&ncy;&ycy;&khcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&acy;&mcy;&icy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;. &Icy;&ncy;&scy;&tcy;&rcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ycy;  Git  &bcy;&ocy;&lcy;&iecy;&iecy; &vcy;&ycy;&scy;&ocy;&kcy;&ocy;&gcy;&ocy; &ucy;&rcy;&ocy;&vcy;&ncy;&yacy;, &tcy;&acy;&kcy;&icy;&iecy; &kcy;&acy;&kcy;  <code>git status</code>  &icy;  <code>git add</code> , &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yucy;&tcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy; &icy;&zcy; &icy;&scy;&tcy;&ocy;&chcy;&ncy;&icy;&kcy;&ocy;&vcy;, &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&khcy; &vcy;&ycy;&shcy;&iecy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_pattern_format"><span data-i18n="0dd5af60afc09e54798270deb80db194fe864e24fa5d38276cf37bb283b67715/cd" data-source="Pattern format" onmousemove="i18n(this)">Pattern format</span></h2> <div> <div> <ul> <li> <p><span data-i18n="6667189fc373a6b5f3a8fd4530c9695dbd661b7e952e6f90c6e6c9d644a62937/6b" data-source="A blank line matches no files, so it can serve as a separator for readability." onmousemove="i18n(this)">&Pcy;&ucy;&scy;&tcy;&acy;&yacy; &scy;&tcy;&rcy;&ocy;&kcy;&acy; &ncy;&iecy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &ncy;&icy; &ocy;&dcy;&ncy;&ocy;&mcy;&ucy; &fcy;&acy;&jcy;&lcy;&ucy;, &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &iecy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&icy;&tcy;&iecy;&lcy;&yacy; &dcy;&lcy;&yacy; &ucy;&dcy;&ocy;&bcy;&scy;&tcy;&vcy;&acy; &chcy;&tcy;&iecy;&ncy;&icy;&yacy;.</span></p> </li> <li> <p><span data-i18n="5da94b7490cb9310385e2f8e2bf5cf22cde4f824b9cf6ebca75b4741e39d0714/92" data-source="A line starting with # serves as a comment. Put a backslash (&amp;quot;&lt;code&gt;\&lt;/code&gt;&amp;quot;) in front of the first hash for patterns that begin with a hash." onmousemove="i18n(this)">&Scy;&tcy;&rcy;&ocy;&kcy;&acy;, &ncy;&acy;&chcy;&icy;&ncy;&acy;&yucy;&shchcy;&acy;&yacy;&scy;&yacy; &scy; #, &scy;&lcy;&ucy;&zhcy;&icy;&tcy; &kcy;&ocy;&mcy;&mcy;&iecy;&ncy;&tcy;&acy;&rcy;&icy;&iecy;&mcy;. &Pcy;&ocy;&scy;&tcy;&acy;&vcy;&softcy;&tcy;&iecy; &ocy;&bcy;&rcy;&acy;&tcy;&ncy;&ucy;&yucy; &kcy;&ocy;&scy;&ucy;&yucy; &chcy;&iecy;&rcy;&tcy;&ucy; ( &quot;  <code>\</code>  &quot; ) &pcy;&iecy;&rcy;&iecy;&dcy; &pcy;&iecy;&rcy;&vcy;&ycy;&mcy; &khcy;&iecy;&shcy;&iecy;&mcy; &dcy;&lcy;&yacy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ocy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&yucy;&tcy;&scy;&yacy; &scy; &khcy;&iecy;&shcy;&acy;.</span></p> </li> <li> <p><span data-i18n="85cb15b13200fb8031cc8c6caa07922347379123f68c470c5d0aad52f482579c/0a" data-source="Trailing spaces are ignored unless they are quoted with backslash (&amp;quot;&lt;code&gt;\&lt;/code&gt;&amp;quot;)." onmousemove="i18n(this)">&Kcy;&ocy;&ncy;&iecy;&chcy;&ncy;&ycy;&iecy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ycy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy;&icy; &ncy;&iecy; &zcy;&acy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ycy; &vcy; &kcy;&acy;&vcy;&ycy;&chcy;&kcy;&icy; &scy; &ocy;&bcy;&rcy;&acy;&tcy;&ncy;&ocy;&jcy; &kcy;&ocy;&scy;&ocy;&jcy; &chcy;&iecy;&rcy;&tcy;&ocy;&jcy; ( &quot;  <code>\</code>  &quot; ).</span></p> </li> <li> <p><span data-i18n="49772cf04dd7ccb5e7fd2bc93577c3cd100b4586c7d024ad915308fe0c0ee52b/1b" data-source="An optional prefix &amp;quot;&lt;code&gt;!&lt;/code&gt;&amp;quot; which negates the pattern; any matching file excluded by a previous pattern will become included again. It is not possible to re-include a file if a parent directory of that file is excluded. Git doesn&amp;rsquo;t list excluded directories for performance reasons, so any patterns on contained files have no effect, no matter where they are defined. Put a backslash (&amp;quot;&lt;code&gt;\&lt;/code&gt;&amp;quot;) in front of the first &amp;quot;&lt;code&gt;!&lt;/code&gt;&amp;quot; for patterns that begin with a literal &amp;quot;&lt;code&gt;!&lt;/code&gt;&amp;quot;, for example, &amp;quot;&lt;code&gt;\!important!.txt&lt;/code&gt;&amp;quot;." onmousemove="i18n(this)">&Ncy;&iecy;&ocy;&bcy;&yacy;&zcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&jcy; &pcy;&rcy;&iecy;&fcy;&icy;&kcy;&scy;  &quot;  <code>!</code>  &quot; , &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &ocy;&tcy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;; &lcy;&yucy;&bcy;&ocy;&jcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&jcy; &fcy;&acy;&jcy;&lcy;, &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ncy;&ycy;&jcy; &pcy;&rcy;&iecy;&dcy;&ycy;&dcy;&ucy;&shchcy;&icy;&mcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ocy;&mcy;, &bcy;&ucy;&dcy;&iecy;&tcy; &scy;&ncy;&ocy;&vcy;&acy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;. &Ncy;&iecy;&vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&ncy;&ocy; &vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy;, &iecy;&scy;&lcy;&icy; &rcy;&ocy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&scy;&kcy;&icy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy; &ecy;&tcy;&ocy;&gcy;&ocy; &fcy;&acy;&jcy;&lcy;&acy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;.  Git  &ncy;&iecy; &pcy;&iecy;&rcy;&iecy;&chcy;&icy;&scy;&lcy;&yacy;&iecy;&tcy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ncy;&ycy;&iecy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&icy; &pcy;&ocy; &scy;&ocy;&ocy;&bcy;&rcy;&acy;&zhcy;&iecy;&ncy;&icy;&yacy;&mcy; &pcy;&rcy;&ocy;&icy;&zcy;&vcy;&ocy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&scy;&tcy;&icy;, &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &lcy;&yucy;&bcy;&ycy;&iecy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy; &vcy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&icy;&khcy;&scy;&yacy; &fcy;&acy;&jcy;&lcy;&acy;&khcy; &ncy;&iecy; &icy;&mcy;&iecy;&yucy;&tcy; &ncy;&icy;&kcy;&acy;&kcy;&ocy;&gcy;&ocy; &ecy;&fcy;&fcy;&iecy;&kcy;&tcy;&acy;, &ncy;&iecy;&zcy;&acy;&vcy;&icy;&scy;&icy;&mcy;&ocy; &ocy;&tcy; &tcy;&ocy;&gcy;&ocy;, &gcy;&dcy;&iecy; &ocy;&ncy;&icy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ycy;. &Pcy;&ocy;&scy;&tcy;&acy;&vcy;&softcy;&tcy;&iecy; &ocy;&bcy;&rcy;&acy;&tcy;&ncy;&ucy;&yucy; &kcy;&ocy;&scy;&ucy;&yucy; &chcy;&iecy;&rcy;&tcy;&ucy; ( &quot;  <code>\</code>  &quot; ) &pcy;&iecy;&rcy;&iecy;&dcy; &pcy;&iecy;&rcy;&vcy;&ycy;&mcy;  &quot;  <code>!</code>  &quot;  &dcy;&lcy;&yacy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ocy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&yucy;&tcy;&scy;&yacy; &scy; &bcy;&ucy;&kcy;&vcy;&ycy;  &quot;  <code>!</code>  &quot; , &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;  &quot;  <code>\!important!.txt</code>  &quot; .</span></p> </li> <li> <p><span data-i18n="0d7f0f2edc0697280733ffbb4d7619d30fe0ded11cac651875c7e3c5a7779b6b/91" data-source="The slash &amp;quot;&lt;code&gt;/&lt;/code&gt;&amp;quot; is used as the directory separator. Separators may occur at the beginning, middle or end of the &lt;code&gt;.gitignore&lt;/code&gt; search pattern." onmousemove="i18n(this)">&Kcy;&ocy;&scy;&acy;&yacy; &chcy;&iecy;&rcy;&tcy;&acy;  &quot;  <code>/</code>  &quot;  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&icy;&tcy;&iecy;&lcy;&yacy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ocy;&vcy;. &Rcy;&acy;&zcy;&dcy;&iecy;&lcy;&icy;&tcy;&iecy;&lcy;&icy; &mcy;&ocy;&gcy;&ucy;&tcy; &vcy;&scy;&tcy;&rcy;&iecy;&chcy;&acy;&tcy;&softcy;&scy;&yacy; &vcy; &ncy;&acy;&chcy;&acy;&lcy;&iecy;, &scy;&iecy;&rcy;&iecy;&dcy;&icy;&ncy;&iecy; &icy;&lcy;&icy; &kcy;&ocy;&ncy;&tscy;&iecy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&acy; &pcy;&ocy;&icy;&scy;&kcy;&acy;  <code>.gitignore</code> .</span></p> </li> <li> <p><span data-i18n="912d80107032eec7485668df3a4398796001b264cab2711976770cf94feeb69f/92" data-source="If there is a separator at the beginning or middle (or both) of the pattern, then the pattern is relative to the directory level of the particular &lt;code&gt;.gitignore&lt;/code&gt; file itself. Otherwise the pattern may also match at any level below the &lt;code&gt;.gitignore&lt;/code&gt; level." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy; &ncy;&acy;&chcy;&acy;&lcy;&iecy; &icy;&lcy;&icy; &scy;&iecy;&rcy;&iecy;&dcy;&icy;&ncy;&iecy; (&icy;&lcy;&icy; &vcy; &ocy;&bcy;&ocy;&icy;&khcy;) &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&acy; &iecy;&scy;&tcy;&softcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&icy;&tcy;&iecy;&lcy;&softcy;, &tcy;&ocy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy; &ocy;&tcy;&ncy;&ocy;&scy;&icy;&tcy;&scy;&yacy; &kcy; &ucy;&rcy;&ocy;&vcy;&ncy;&yucy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy; &scy;&acy;&mcy;&ocy;&gcy;&ocy; &kcy;&ocy;&ncy;&kcy;&rcy;&iecy;&tcy;&ncy;&ocy;&gcy;&ocy; &fcy;&acy;&jcy;&lcy;&acy;  <code>.gitignore</code> . &Vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy; &mcy;&ocy;&zhcy;&iecy;&tcy; &tcy;&acy;&kcy;&zhcy;&iecy; &scy;&ocy;&vcy;&pcy;&acy;&dcy;&acy;&tcy;&softcy; &ncy;&acy; &lcy;&yucy;&bcy;&ocy;&mcy; &ucy;&rcy;&ocy;&vcy;&ncy;&iecy; &ncy;&icy;&zhcy;&iecy; &ucy;&rcy;&ocy;&vcy;&ncy;&yacy;  <code>.gitignore</code> .</span></p> </li> <li> <p><span data-i18n="9315d50e4405931043462e3853985091755d7722b2dcb957d23b825b286f049a/47" data-source="If there is a separator at the end of the pattern then the pattern will only match directories, otherwise the pattern can match both files and directories." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy; &kcy;&ocy;&ncy;&tscy;&iecy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&acy; &iecy;&scy;&tcy;&softcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&icy;&tcy;&iecy;&lcy;&softcy;, &tcy;&ocy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy; &bcy;&ucy;&dcy;&iecy;&tcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;&mcy;, &vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy; &mcy;&ocy;&zhcy;&iecy;&tcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy; &kcy;&acy;&kcy; &fcy;&acy;&jcy;&lcy;&acy;&mcy;, &tcy;&acy;&kcy; &icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;&mcy;.</span></p> </li> <li> <p><span data-i18n="66321fe6647ca53ec04f1f9948233dcf5ba37082f0a3462fef5f7ad7978ab04f/27" data-source="For example, a pattern &lt;code&gt;doc/frotz/&lt;/code&gt; matches &lt;code&gt;doc/frotz&lt;/code&gt; directory, but not &lt;code&gt;a/doc/frotz&lt;/code&gt; directory; however &lt;code&gt;frotz/&lt;/code&gt; matches &lt;code&gt;frotz&lt;/code&gt; and &lt;code&gt;a/frotz&lt;/code&gt; that is a directory (all paths are relative from the &lt;code&gt;.gitignore&lt;/code&gt; file)." onmousemove="i18n(this)">&Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &shcy;&acy;&bcy;&lcy;&ocy;&ncy;  <code>doc/frotz/</code>  &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ucy;  <code>doc/frotz</code> , &ncy;&ocy; &ncy;&iecy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ucy;  <code>a/doc/frotz</code> ; &ocy;&dcy;&ncy;&acy;&kcy;&ocy;  <code>frotz/</code>  &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;  <code>frotz</code>  &icy;  <code>a/frotz</code> , &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &yacy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ocy;&mcy; (&vcy;&scy;&iecy; &pcy;&ucy;&tcy;&icy; &ocy;&tcy;&ncy;&ocy;&scy;&yacy;&tcy;&scy;&yacy; &kcy; &fcy;&acy;&jcy;&lcy;&ucy;  <code>.gitignore</code> ).</span></p> </li> <li> <p><span data-i18n="0b8995f5d78ebd523956c71a33618b67034f1d59aafa95f1077b2837c1132932/ce" data-source="An asterisk &amp;quot;&lt;code&gt;*&lt;/code&gt;&amp;quot; matches anything except a slash. The character &amp;quot;&lt;code&gt;?&lt;/code&gt;&amp;quot; matches any one character except &amp;quot;&lt;code&gt;/&lt;/code&gt;&amp;quot;. The range notation, e.g. &lt;code&gt;[a-zA-Z]&lt;/code&gt;, can be used to match one of the characters in a range. See fnmatch(3) and the FNM_PATHNAME flag for a more detailed description." onmousemove="i18n(this)">&Zcy;&vcy;&iecy;&zcy;&dcy;&ocy;&chcy;&kcy;&acy;  &quot;  <code>*</code>  &quot;  &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &vcy;&scy;&iecy;&mcy;&ucy;, &kcy;&rcy;&ocy;&mcy;&iecy; &kcy;&ocy;&scy;&ocy;&jcy; &chcy;&iecy;&rcy;&tcy;&ycy;. &Scy;&icy;&mcy;&vcy;&ocy;&lcy;  &quot;  <code>?</code>  &quot;  &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &lcy;&yucy;&bcy;&ocy;&mcy;&ucy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&ucy;, &kcy;&rcy;&ocy;&mcy;&iecy;  &quot;  <code>/</code>  &quot; . &Ocy;&bcy;&ocy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &dcy;&icy;&acy;&pcy;&acy;&zcy;&ocy;&ncy;&acy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;  <code>[a-zA-Z]</code> , &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &icy;&zcy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&ocy;&vcy; &dcy;&icy;&acy;&pcy;&acy;&zcy;&ocy;&ncy;&acy;. &Scy;&mcy;. fnmatch(3) &icy; &fcy;&lcy;&acy;&gcy; FNM_PATHNAME &dcy;&lcy;&yacy; &bcy;&ocy;&lcy;&iecy;&iecy; &pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&gcy;&ocy; &ocy;&pcy;&icy;&scy;&acy;&ncy;&icy;&yacy;.</span></p> </li> </ul> </div> <p><span data-i18n="d50afc8e427850d01d098c4eb95d8f9f1dd838974b20630eb294653833a952e5/8c" data-source="Two consecutive asterisks (&amp;quot;&lt;code&gt;**&lt;/code&gt;&amp;quot;) in patterns matched against full pathname may have special meaning:" onmousemove="i18n(this)">&Dcy;&vcy;&iecy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&iecy; &zcy;&vcy;&iecy;&zcy;&dcy;&ocy;&chcy;&kcy;&icy; ( &quot;  <code>**</code>  &quot; ) &vcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&acy;&khcy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&khcy; &pcy;&ocy;&lcy;&ncy;&ocy;&mcy;&ucy; &pcy;&ucy;&tcy;&icy;, &mcy;&ocy;&gcy;&ucy;&tcy; &icy;&mcy;&iecy;&tcy;&softcy; &ocy;&scy;&ocy;&bcy;&ocy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;:</span></p> <div> <ul> <li> <p><span data-i18n="24ddd2f8c3647972952e7f8599914e5b6ad5eee1d7f2eecf3df3122a88601baa/ea" data-source="A leading &amp;quot;&lt;code&gt;**&lt;/code&gt;&amp;quot; followed by a slash means match in all directories. For example, &amp;quot;&lt;code&gt;**/foo&lt;/code&gt;&amp;quot; matches file or directory &amp;quot;&lt;code&gt;foo&lt;/code&gt;&amp;quot; anywhere, the same as pattern &amp;quot;&lt;code&gt;foo&lt;/code&gt;&amp;quot;. &amp;quot;&lt;code&gt;**/foo/bar&lt;/code&gt;&amp;quot; matches file or directory &amp;quot;&lt;code&gt;bar&lt;/code&gt;&amp;quot; anywhere that is directly under directory &amp;quot;&lt;code&gt;foo&lt;/code&gt;&amp;quot;." onmousemove="i18n(this)">&Vcy;&iecy;&dcy;&ucy;&shchcy;&icy;&jcy;  &quot;  <code>**</code>  &quot; , &zcy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&mcy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &kcy;&ocy;&scy;&acy;&yacy; &chcy;&iecy;&rcy;&tcy;&acy;, &ocy;&zcy;&ncy;&acy;&chcy;&acy;&iecy;&tcy; &scy;&ocy;&vcy;&pcy;&acy;&dcy;&iecy;&ncy;&icy;&iecy; &vcy;&ocy; &vcy;&scy;&iecy;&khcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;&khcy;. &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  &quot;  <code>**/foo</code>  &quot;  &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &fcy;&acy;&jcy;&lcy;&ucy; &icy;&lcy;&icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ucy;  &quot;  <code>foo</code>  &quot;  &vcy; &lcy;&yucy;&bcy;&ocy;&mcy; &mcy;&iecy;&scy;&tcy;&iecy;, &tcy;&acy;&kcy; &zhcy;&iecy;, &kcy;&acy;&kcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;  &quot;  <code>foo</code>  &quot; .  &quot;  <code>**/foo/bar</code>  &quot;  &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &fcy;&acy;&jcy;&lcy;&ucy; &icy;&lcy;&icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ucy;  &quot;  <code>bar</code>  &quot;  &vcy; &lcy;&yucy;&bcy;&ocy;&mcy; &mcy;&iecy;&scy;&tcy;&iecy;, &ncy;&acy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&mcy;&scy;&yacy; &ncy;&iecy;&pcy;&ocy;&scy;&rcy;&iecy;&dcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ocy; &pcy;&ocy;&dcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ocy;&mcy;  &quot;  <code>foo</code>  &quot; .</span></p> </li> <li> <p><span data-i18n="ab8c8aa1b6aa6228bcc9c28ba281a17efdc54c68ea89fd35f04912f549d54c4d/65" data-source="A trailing &amp;quot;&lt;code&gt;/**&lt;/code&gt;&amp;quot; matches everything inside. For example, &amp;quot;&lt;code&gt;abc/**&lt;/code&gt;&amp;quot; matches all files inside directory &amp;quot;&lt;code&gt;abc&lt;/code&gt;&amp;quot;, relative to the location of the &lt;code&gt;.gitignore&lt;/code&gt; file, with infinite depth." onmousemove="i18n(this)">&Zcy;&acy;&mcy;&ycy;&kcy;&acy;&yucy;&shchcy;&icy;&jcy;&scy;&yacy;  &quot;  <code>/**</code>  &quot;  &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &vcy;&scy;&iecy;&mcy;&ucy; &vcy;&ncy;&ucy;&tcy;&rcy;&icy;. &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  &quot;  <code>abc/**</code>  &quot;  &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &vcy;&scy;&iecy;&mcy; &fcy;&acy;&jcy;&lcy;&acy;&mcy; &vcy;&ncy;&ucy;&tcy;&rcy;&icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;  &quot;  <code>abc</code>  &quot;  &ocy;&tcy;&ncy;&ocy;&scy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &mcy;&iecy;&scy;&tcy;&ocy;&pcy;&ocy;&lcy;&ocy;&zhcy;&iecy;&ncy;&icy;&yacy; &fcy;&acy;&jcy;&lcy;&acy;  <code>.gitignore</code>  &scy; &bcy;&iecy;&scy;&kcy;&ocy;&ncy;&iecy;&chcy;&ncy;&ocy;&jcy; &gcy;&lcy;&ucy;&bcy;&icy;&ncy;&ocy;&jcy;.</span></p> </li> <li> <p><span data-i18n="af217f6a820186574ffb7ab52af2caef5d2b126ebe9b36563d4f5fb73ba8ccdf/0e" data-source="A slash followed by two consecutive asterisks then a slash matches zero or more directories. For example, &amp;quot;&lt;code&gt;a/**/b&lt;/code&gt;&amp;quot; matches &amp;quot;&lt;code&gt;a/b&lt;/code&gt;&amp;quot;, &amp;quot;&lt;code&gt;a/x/b&lt;/code&gt;&amp;quot;, &amp;quot;&lt;code&gt;a/x/y/b&lt;/code&gt;&amp;quot; and so on." onmousemove="i18n(this)">&Kcy;&ocy;&scy;&acy;&yacy; &chcy;&iecy;&rcy;&tcy;&acy;, &zcy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&tcy; &dcy;&vcy;&iecy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&iecy; &zcy;&vcy;&iecy;&zcy;&dcy;&ocy;&chcy;&kcy;&icy;, &ocy;&zcy;&ncy;&acy;&chcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &kcy;&ocy;&scy;&acy;&yacy; &chcy;&iecy;&rcy;&tcy;&acy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &ncy;&ucy;&lcy;&yucy; &icy;&lcy;&icy; &bcy;&ocy;&lcy;&iecy;&iecy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;&mcy;. &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  &quot;  <code>a/**/b</code>  &quot;  &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;  &quot;  <code>a/b</code>  &quot; ,  &quot;  <code>a/x/b</code>  &quot; ,  &quot;  <code>a/x/y/b</code>  &quot;  &icy; &tcy;&acy;&kcy; &dcy;&acy;&lcy;&iecy;&iecy;.</span></p> </li> <li> <p><span data-i18n="78715d263ea9da2b51ff2a0ba89c1feb12934f9d9ae6a4ec0eab50e758af5e1e/22" data-source="Other consecutive asterisks are considered regular asterisks and will match according to the previous rules." onmousemove="i18n(this)">&Ocy;&scy;&tcy;&acy;&lcy;&softcy;&ncy;&ycy;&iecy; &zcy;&vcy;&iecy;&zcy;&dcy;&ocy;&chcy;&kcy;&icy; &pcy;&ocy;&dcy;&rcy;&yacy;&dcy; &scy;&chcy;&icy;&tcy;&acy;&yucy;&tcy;&scy;&yacy; &ocy;&bcy;&ycy;&chcy;&ncy;&ycy;&mcy;&icy; &zcy;&vcy;&iecy;&zcy;&dcy;&ocy;&chcy;&kcy;&acy;&mcy;&icy; &icy; &bcy;&ucy;&dcy;&ucy;&tcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&rcy;&iecy;&dcy;&ycy;&dcy;&ucy;&shchcy;&icy;&mcy; &pcy;&rcy;&acy;&vcy;&icy;&lcy;&acy;&mcy;.</span></p> </li> </ul> </div> </div> <h2 class="text-body-emphasis"  id="_configuration"><span data-i18n="b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc/aa" data-source="Configuration" onmousemove="i18n(this)">Configuration</span></h2> <div> <p><span data-i18n="834b305f01001f71ca0a1a679485e562c86a3c49a7946e4399b2d00917b8623e/33" data-source="The optional configuration variable &lt;code&gt;core.excludesFile&lt;/code&gt; indicates a path to a file containing patterns of file names to exclude, similar to &lt;code&gt;$GIT_DIR/info/exclude&lt;/code&gt;. Patterns in the exclude file are used in addition to those in &lt;code&gt;$GIT_DIR/info/exclude&lt;/code&gt;." onmousemove="i18n(this)">&Ncy;&iecy;&ocy;&bcy;&yacy;&zcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&acy;&yacy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&acy;&yacy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>core.excludesFile</code>  &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &pcy;&ucy;&tcy;&softcy; &kcy; &fcy;&acy;&jcy;&lcy;&ucy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&iecy;&mcy;&ucy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy; &icy;&mcy;&iecy;&ncy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy;, &acy;&ncy;&acy;&lcy;&ocy;&gcy;&icy;&chcy;&ncy;&ocy;  <code>$GIT_DIR/info/exclude</code>  . &SHcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy; &vcy; &fcy;&acy;&jcy;&lcy;&iecy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yucy;&tcy;&scy;&yacy; &vcy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&iecy; &kcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&acy;&mcy; &vcy;  <code>$GIT_DIR/info/exclude</code> .</span></p> </div> <h2 class="text-body-emphasis"  id="_notes"><span data-i18n="8a7525b1492fb84833f5c4a69b30f4bfbb134f9b666b61a2c1872d63d234c085/bb" data-source="Notes" onmousemove="i18n(this)">Notes</span></h2> <div> <p><span data-i18n="af9c087790b13ce873858cfb4b850a9594b8f9029523860f19ba9bfbcbeae464/bf" data-source="The purpose of gitignore files is to ensure that certain files not tracked by Git remain untracked." onmousemove="i18n(this)">&TScy;&iecy;&lcy;&softcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; gitignore &mdash; &gcy;&acy;&rcy;&acy;&ncy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;, &chcy;&tcy;&ocy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;, &ncy;&iecy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&iecy;  Git , &ocy;&scy;&tcy;&acy;&ncy;&ucy;&tcy;&scy;&yacy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&mcy;&icy;.</span></p> <p><span data-i18n="c1965083557493da8d201139e9d786d89d12067efc99f4f775b2aeb3260a20be/b7" data-source="To stop tracking a file that is currently tracked, use &lt;code&gt;git rm --cached&lt;/code&gt; to remove the file from the index. The filename can then be added to the &lt;code&gt;.gitignore&lt;/code&gt; file to stop the file from being reintroduced in later commits." onmousemove="i18n(this)">&CHcy;&tcy;&ocy;&bcy;&ycy; &pcy;&rcy;&iecy;&kcy;&rcy;&acy;&tcy;&icy;&tcy;&softcy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&iecy; &fcy;&acy;&jcy;&lcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &dcy;&acy;&ncy;&ncy;&ycy;&jcy; &mcy;&ocy;&mcy;&iecy;&ncy;&tcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy;  <code>git rm --cached</code>  &dcy;&lcy;&yacy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&yacy; &fcy;&acy;&jcy;&lcy;&acy; &icy;&zcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;. &Zcy;&acy;&tcy;&iecy;&mcy; &icy;&mcy;&yacy; &fcy;&acy;&jcy;&lcy;&acy; &mcy;&ocy;&zhcy;&ncy;&ocy; &dcy;&ocy;&bcy;&acy;&vcy;&icy;&tcy;&softcy; &vcy; &fcy;&acy;&jcy;&lcy;  <code>.gitignore</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&rcy;&iecy;&dcy;&ocy;&tcy;&vcy;&rcy;&acy;&tcy;&icy;&tcy;&softcy; &pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&ncy;&ocy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &fcy;&acy;&jcy;&lcy;&acy; &vcy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&khcy;.</span></p> <p><span data-i18n="ffb6ac9db2843a00fe2173c740d9432a9e44e3a4e0445612caa4fd671628a376/31" data-source="Git does not follow symbolic links when accessing a &lt;code&gt;.gitignore&lt;/code&gt; file in the working tree. This keeps behavior consistent when the file is accessed from the index or a tree versus from the filesystem." onmousemove="i18n(this)">Git  &ncy;&iecy; &pcy;&iecy;&rcy;&iecy;&khcy;&ocy;&dcy;&icy;&tcy; &pcy;&ocy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&kcy;&icy;&mcy; &scy;&scy;&ycy;&lcy;&kcy;&acy;&mcy; &pcy;&rcy;&icy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&iecy; &kcy; &fcy;&acy;&jcy;&lcy;&ucy;  <code>.gitignore</code>  &vcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &dcy;&iecy;&rcy;&iecy;&vcy;&iecy;. &Ecy;&tcy;&ocy; &ocy;&bcy;&iecy;&scy;&pcy;&iecy;&chcy;&icy;&vcy;&acy;&iecy;&tcy; &iecy;&dcy;&icy;&ncy;&ocy;&ocy;&bcy;&rcy;&acy;&zcy;&icy;&iecy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&yacy; &pcy;&rcy;&icy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&iecy; &kcy; &fcy;&acy;&jcy;&lcy;&ucy; &icy;&zcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy; &icy;&lcy;&icy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;, &acy; &ncy;&iecy; &icy;&zcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ycy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_examples"><span data-i18n="e68ee04dff59551b7d1ae07a2f8a00dc61d841628948da3d2781630706a05e92/38" data-source="Examples" onmousemove="i18n(this)">Examples</span></h2> <div> <div> <ul> <li> <p><span data-i18n="fecfcf548a0637b4df947088d3c50b822f07db7066a53f1e4e42465ebbe74b91/7f" data-source="The pattern &lt;code&gt;hello.*&lt;/code&gt; matches any file or directory whose name begins with &lt;code&gt;hello.&lt;/code&gt;. If one wants to restrict this only to the directory and not in its subdirectories, one can prepend the pattern with a slash, i.e. &lt;code&gt;/hello.*&lt;/code&gt;; the pattern now matches &lt;code&gt;hello.txt&lt;/code&gt;, &lt;code&gt;hello.c&lt;/code&gt; but not &lt;code&gt;a/hello.java&lt;/code&gt;." onmousemove="i18n(this)">&SHcy;&acy;&bcy;&lcy;&ocy;&ncy;  <code>hello.*</code>  &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &lcy;&yucy;&bcy;&ocy;&mcy;&ucy; &fcy;&acy;&jcy;&lcy;&ucy; &icy;&lcy;&icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ucy;, &icy;&mcy;&yacy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&gcy;&ocy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&iecy;&tcy;&scy;&yacy; &scy;  <code>hello.</code> . &IEcy;&scy;&lcy;&icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &ocy;&gcy;&rcy;&acy;&ncy;&icy;&chcy;&icy;&tcy;&softcy; &ecy;&tcy;&ocy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ocy;&mcy;, &acy; &ncy;&iecy; &iecy;&gcy;&ocy; &pcy;&ocy;&dcy;&kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;&mcy;&icy;, &mcy;&ocy;&zhcy;&ncy;&ocy; &dcy;&ocy;&bcy;&acy;&vcy;&icy;&tcy;&softcy; &kcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ucy; &kcy;&ocy;&scy;&ucy;&yucy; &chcy;&iecy;&rcy;&tcy;&ucy;, &tcy;.&iecy;.  <code>/hello.*</code>  ; &shcy;&acy;&bcy;&lcy;&ocy;&ncy; &tcy;&iecy;&pcy;&iecy;&rcy;&softcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;  <code>hello.txt</code> ,  <code>hello.c</code> , &ncy;&ocy; &ncy;&iecy;  <code>a/hello.java</code> .</span></p> </li> <li> <p><span data-i18n="25a155090e4ae64ef20f0bf72f0d7d3707a119c258c140eb46113f29b94a2932/be" data-source="The pattern &lt;code&gt;foo/&lt;/code&gt; will match a directory &lt;code&gt;foo&lt;/code&gt; and paths underneath it, but will not match a regular file or a symbolic link &lt;code&gt;foo&lt;/code&gt; (this is consistent with the way how pathspec works in general in Git)" onmousemove="i18n(this)">&SHcy;&acy;&bcy;&lcy;&ocy;&ncy;  <code>foo/</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ucy;  <code>foo</code>  &icy; &pcy;&ucy;&tcy;&yacy;&mcy; &pcy;&ocy;&dcy; &ncy;&icy;&mcy;, &ncy;&ocy; &ncy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy; &ocy;&bcy;&ycy;&chcy;&ncy;&ocy;&mcy;&ucy; &fcy;&acy;&jcy;&lcy;&ucy; &icy;&lcy;&icy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&kcy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&iecy;  <code>foo</code>  (&ecy;&tcy;&ocy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &tcy;&ocy;&mcy;&ucy;, &kcy;&acy;&kcy; &vcy; &tscy;&iecy;&lcy;&ocy;&mcy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; pathspec &vcy; Git).</span></p> </li> <li> <p><span data-i18n="427119d79a8d063d189cb418f1c5944ea49fb479f7f4f62ab72811914f0cff63/b9" data-source="The pattern &lt;code&gt;doc/frotz&lt;/code&gt; and &lt;code&gt;/doc/frotz&lt;/code&gt; have the same effect in any &lt;code&gt;.gitignore&lt;/code&gt; file. In other words, a leading slash is not relevant if there is already a middle slash in the pattern." onmousemove="i18n(this)">&SHcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy;  <code>doc/frotz</code>  &icy;  <code>/doc/frotz</code>  &icy;&mcy;&iecy;&yucy;&tcy; &ocy;&dcy;&icy;&ncy;&acy;&kcy;&ocy;&vcy;&ycy;&jcy; &ecy;&fcy;&fcy;&iecy;&kcy;&tcy; &vcy; &lcy;&yucy;&bcy;&ocy;&mcy; &fcy;&acy;&jcy;&lcy;&iecy;  <code>.gitignore</code> . &Dcy;&rcy;&ucy;&gcy;&icy;&mcy;&icy; &scy;&lcy;&ocy;&vcy;&acy;&mcy;&icy;, &vcy;&iecy;&dcy;&ucy;&shchcy;&acy;&yacy; &kcy;&ocy;&scy;&acy;&yacy; &chcy;&iecy;&rcy;&tcy;&acy; &ncy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy;, &iecy;&scy;&lcy;&icy; &vcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&iecy; &ucy;&zhcy;&iecy; &iecy;&scy;&tcy;&softcy; &scy;&rcy;&iecy;&dcy;&ncy;&yacy;&yacy; &kcy;&ocy;&scy;&acy;&yacy; &chcy;&iecy;&rcy;&tcy;&acy;.</span></p> </li> <li> <p><span data-i18n="29beca0f823b26279da558d1db29ae54d7d06c99460c9d01b3f70d6f34d5931c/20" data-source="The pattern &lt;code&gt;foo/*&lt;/code&gt;, matches &lt;code&gt;foo/test.json&lt;/code&gt; (a regular file), &lt;code&gt;foo/bar&lt;/code&gt; (a directory), but it does not match &lt;code&gt;foo/bar/hello.c&lt;/code&gt; (a regular file), as the asterisk in the pattern does not match &lt;code&gt;bar/hello.c&lt;/code&gt; which has a slash in it." onmousemove="i18n(this)">&SHcy;&acy;&bcy;&lcy;&ocy;&ncy;  <code>foo/*</code>  &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;  <code>foo/test.json</code>  (&ocy;&bcy;&ycy;&chcy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy;),  <code>foo/bar</code>  (&kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;), &ncy;&ocy; &ncy;&iecy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;  <code>foo/bar/hello.c</code>  (&ocy;&bcy;&ycy;&chcy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy;), &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &zcy;&vcy;&iecy;&zcy;&dcy;&ocy;&chcy;&kcy;&acy; &vcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&iecy; &ncy;&iecy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;  <code>bar/hello.c</code> , &vcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&mcy; &iecy;&scy;&tcy;&softcy; &kcy;&ocy;&scy;&acy;&yacy; &chcy;&iecy;&rcy;&tcy;&acy;.</span></p> </li> </ul> </div> <div> <div> <pre class="hljs language-bash">    $ git status
    [...]
    <span class="hljs-comment"># Untracked files:</span>
    [...]
    <span class="hljs-comment">#       Documentation/foo.html</span>
    <span class="hljs-comment" title="#       Documentation/gitignore.html"># &Dcy;&ocy;&kcy;&ucy;&mcy;&iecy;&ncy;&tcy;&acy;&tscy;&icy;&yacy;/gitignore.html</span>
    <span class="hljs-comment" title="#       file.o"># &fcy;&acy;&jcy;&lcy;.&ocy;</span>
    <span class="hljs-comment" title="#       lib.a"># lib.a</span>
    <span class="hljs-comment" title="#       src/internal.o"># &icy;&scy;&tcy;&ocy;&chcy;&ncy;&icy;&kcy;/internal.o</span>
    [...]
    $ <span class="hljs-built_in">cat</span> .git/info/exclude
    <span class="hljs-comment" title="# ignore objects and archives, anywhere in the tree."># &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; &icy; &acy;&rcy;&khcy;&icy;&vcy;&ycy; &vcy; &lcy;&yucy;&bcy;&ocy;&mcy; &mcy;&iecy;&scy;&tcy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;.</span>
    *.[oa]
    $ <span class="hljs-built_in">cat</span> Documentation/.gitignore
    <span class="hljs-comment" title="# ignore generated html files,"># &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&gcy;&iecy;&ncy;&iecy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&iecy; html-&fcy;&acy;&jcy;&lcy;&ycy;,</span>
    *.html
    <span class="hljs-comment" title="# except foo.html which is maintained by hand"># &kcy;&rcy;&ocy;&mcy;&iecy; foo.html, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy;&rcy;&ucy;&chcy;&ncy;&ucy;&yucy;</span>
    !foo.html
    $ git status
    [...]
    <span class="hljs-comment" title="# Untracked files:"># &Ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;:</span>
    [...]
    <span class="hljs-comment" title="#       Documentation/foo.html"># &Dcy;&ocy;&kcy;&ucy;&mcy;&iecy;&ncy;&tcy;&acy;&tscy;&icy;&yacy;/foo.html</span>
    [...]</pre> </div> </div> <p><span data-i18n="023fee116f0ff0ee0ab5a9a0717464da579201bdd2c98a70f26e4d1a0a359315/d5" data-source="Another example:" onmousemove="i18n(this)">Another example:</span></p> <div> <div> <pre class="hljs language-bash">    $ <span class="hljs-built_in">cat</span> .gitignore
    vmlinux*
    $ <span class="hljs-built_in">ls</span> <span class="hljs-built_in">arch</span>/foo/kernel/vm*
    <span class="hljs-built_in">arch</span>/foo/kernel/vmlinux.lds.S
    $ <span class="hljs-built_in">echo</span> <span class="hljs-string">&apos;!/vmlinux*&apos;</span> &gt;<span class="hljs-built_in">arch</span>/foo/kernel/.gitignore</pre> </div> </div> <p><span data-i18n="acadbd4e76dba959df6e42155ab4e7943ceab330ef6783bd4083e0bd4136d030/29" data-source="The second .gitignore prevents Git from ignoring &lt;code&gt;arch/foo/kernel/vmlinux.lds.S&lt;/code&gt;." onmousemove="i18n(this)">&Vcy;&tcy;&ocy;&rcy;&ocy;&jcy; .gitignore &ncy;&iecy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy;  Git  &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;  <code>arch/foo/kernel/vmlinux.lds.S</code> .</span></p> <p><span data-i18n="7f822df0b626c7de3e6ef9b44af62e9af31c8b5968f285d4aceb4bf75cbaa016/88" data-source="Example to exclude everything except a specific directory &lt;code&gt;foo/bar&lt;/code&gt; (note the &lt;code&gt;/*&lt;/code&gt; - without the slash, the wildcard would also exclude everything within &lt;code&gt;foo/bar&lt;/code&gt;):" onmousemove="i18n(this)">&Pcy;&rcy;&icy;&mcy;&iecy;&rcy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&yacy; &vcy;&scy;&iecy;&gcy;&ocy;, &kcy;&rcy;&ocy;&mcy;&iecy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;  <code>foo/bar</code>  (&ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy; &ncy;&acy;  <code>/*</code>  &mdash; &bcy;&iecy;&zcy; &kcy;&ocy;&scy;&ocy;&jcy; &chcy;&iecy;&rcy;&tcy;&ycy; &pcy;&ocy;&dcy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&ocy;&chcy;&ncy;&ycy;&jcy; &zcy;&ncy;&acy;&kcy; &tcy;&acy;&kcy;&zhcy;&iecy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy; &vcy;&scy;&iecy; &vcy;&ncy;&ucy;&tcy;&rcy;&icy;  <code>foo/bar</code> ):</span></p> <div> <div> <pre class="hljs language-bash">    $ <span class="hljs-built_in">cat</span> .gitignore
    <span class="hljs-comment" title="# exclude everything except directory foo/bar"># &icy;&scy;&kcy;&lcy;&yucy;&chcy;&acy;&iecy;&mcy; &vcy;&scy;&iecy;, &kcy;&rcy;&ocy;&mcy;&iecy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy; foo/bar</span>
    /*
    !/foo
    /foo/*
    !/foo/bar</pre> </div> </div> </div> <h2 class="text-body-emphasis"  id="_see_also"><span data-i18n="2fa97693b70fa87b95b2d1bdf9558e4ac65d5e82d145f13a03849c4d9c4957a9/40" data-source="See also" onmousemove="i18n(this)">See also</span></h2> <div> <p><span data-i18n="05a8a1c2dab6c249060f98c33a0cd6abcb0bd56cf3b7624cd51151b70a140af3/39" data-source="&lt;a href=&quot;git-rm&quot;&gt;git-rm[1]&lt;/a&gt;, &lt;a href=&quot;gitrepository-layout&quot;&gt;gitrepository-layout[5]&lt;/a&gt;, &lt;a href=&quot;git-check-ignore&quot;&gt;git-check-ignore[1]&lt;/a&gt;" onmousemove="i18n(this)"><a href="git-rm.html">git-rm[1]</a> ,  <a href="gitrepository-layout.html">gitrepository-layout[5]</a> ,  <a href="git-check-ignore.html">git-check-ignore[1]</a></span></p> </div><address>
<p>
    &copy; 2012&ndash;2024 Scott Chacon and others<br/>Licensed under the MIT License.<br/>
<a href="https://git-scm.com/docs/gitignore">https://git-scm.com/docs/gitignore</a>
</p>
</address>                </article>
            </main>

            <br>
            <br>
            <hr>

                               <ins class="adsbygoogle"
        style="display:block"
        data-ad-format="autorelaxed"
        data-ad-client="ca-pub-6424571640879890"
        data-ad-slot="7867651344"></ins>
   <script>
        (adsbygoogle = window.adsbygoogle || []).push({});
   </script>            
        </div>

        <!-- -->

        <div class="col-md-3">
            <br>
            <form action="-index-.html">
                <div class="input-group">
                    <input class="form-control" type="search" name="q" placeholder="Search for Git" required>
                    <button class="btn btn-primary" type="submit">
                        <i class="bi bi-search"></i>
                    </button>
                </div>
            </form>
            <br>

                            <div class="list-group list-group-flush">
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitk.html">
                            gitk                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitmailmap.html">
                            gitmailmap                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitmodules.html">
                            gitmodules                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitnamespaces.html">
                            gitnamespaces                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitprotocol-capabilities.html">
                            gitprotocol capabilities                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitprotocol-common.html">
                            gitprotocol common                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="gitprotocol-http.html">
                            gitprotocol http                        </a>
                                    </div>
            
            <br>
            <div class="my-3">
                <ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-6424571640879890"
     data-ad-slot="3954319254"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>            </div>
            <br>

            
            
        </div>
    </div>
</div>    <!--/sse-->

    <footer>
        <br>
        <div class="container">
            <div class="row">
                <div class="col">
                    <hr>
                    <div class="row">
                        <div class="col-md-10">
                            <ul class="nav">
                                <li class="nav-item">
                                    <a class="nav-link ps-0" href="https://runebook.dev/">Help us Improve Translation</a>
                                </li>
                                                            </ul>
                        </div>
                        <div class="col-md-2 text-end">
                            <a href="gitignore.html#" class="fs-5" aria-label="Top">
                                <i class="bi bi-arrow-up-square-fill"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <br>
    </footer>
    <script src="../../../runebook.js"></script>
</body>

</html>